package platform

import "runtime"

var endLine string

func init() {
	switch runtime.GOOS {
	case "windows":
		endLine = "\r\n"
	case "linux":
		endLine = "\n"
	}
}

func EndLine() string {
	return endLine
}
